---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: kubeapps-operator
  namespace: kube-system

---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: kubeapps-operator
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: cluster-admin
subjects:
- kind: ServiceAccount
  name: kubeapps-operator
  namespace: kube-system

---
apiVersion: v1
kind: Secret
metadata:
  name: kubeapps-admin-token
  namespace: kube-system
  annotations:
    kubernetes.io/service-account.name: "kubeapps-operator"
type: kubernetes.io/service-account-token
